package com.company.site.wenjuan;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.company.site.mode.wenjuan.Player;
import com.company.site.mode.wenjuan.Question;


@Repository
public interface WenjuanMapper {

	List<Player> findPlayerInfo(Player player);

	Player getPlayerByOpenid(String openid);

	List<Question> getQuestions();

	Long addPlayer(Player newPlayer);

	void submitRightCount(Player player);

	Player getPlayerById(Long id);

	Integer countPlayers();

}
